export const routes = [
  {
    path:'/home',
    name:'home',
    component: () => import('@v/Home/index.vue'),
    meta: { title: '首页', limit: [1,2,3] }
  },
  {
    path:'/position',
    name:'position',
    component: () => import('@v/Position/index.vue'),
    meta: { title: '位置', limit: [1,2,3] }
  },
  {
    path:'/chatvoice',
    name:'chatvoice',
    component: () => import('@v/ChatVoice/index.vue'),
    meta: { title: '语音通话', limit: [1,2,3] }
  },
  {
    path:'/login',
    name:'login',
    component: () => import('@v/Login/index.vue'),
    meta: { title: '登录', limit: [1,2,3] }
  },
  {
    path:'/register',
    name:'register',
    component: () => import('@v/Register/index.vue'),
    meta: { title: '注册', limit: [1,2,3] }
  },
  {
    path:'/upload',
    name:'upload',
    component: () => import('@v/Upload/index.vue'),
    meta: { title: '上传', limit: [1,2,3] },
    children: []
  },
  {
    path:'/notFound',
    name:'notFound',
    component: () => import('@v/NotFound/index.vue'),
    meta: {limit: [1,2,3] }
  }, 
  { path:'/', redirect:'/home' },
  { path:'/:pathMatch(.*)', redirect:'/notFound' }

]
